package org.jeecg.modules.business.takestockplan.entity.VO;

import lombok.Data;
import org.jeecg.modules.business.takestockplan.entity.TakeStockPlanExecuteMaterial;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 盘点作业
 * @Author: jeecg-boot
 * @Date:   2023-11-23
 * @Version: V1.0
 */
@Data
@ApiModel(value="wms_take_stock_plan_executePage对象", description="盘点作业")
public class TakeStockPlanExecutePage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**盘点计划id*/
	@Excel(name = "盘点计划id", width = 15)
	@ApiModelProperty(value = "盘点计划id")
    private String wmsTakeStockPlanId;
	/**盘点执行编号*/
	@Excel(name = "盘点执行编号", width = 15)
	@ApiModelProperty(value = "盘点执行编号")
    private String code;
	/**盘点日期*/
	@Excel(name = "盘点日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "盘点日期")
    private Date executeDate;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15)
	@ApiModelProperty(value = "单据状态")
    private String documentStatus;
	/**是否生成差异处理单*/
	@Excel(name = "是否生成差异处理单", width = 15)
	@ApiModelProperty(value = "是否生成差异处理单")
    private String generateFlag;
	/**盘盈单*/
	@Excel(name = "盘盈单", width = 15)
	@ApiModelProperty(value = "盘盈单")
    private String inventoryGainId;
	/**盘亏单*/
	@Excel(name = "盘亏单", width = 15)
	@ApiModelProperty(value = "盘亏单")
    private String inventoryLossId;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
	@ApiModelProperty(value = "租户id")
    private Integer tenantId;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
	@ApiModelProperty(value = "逻辑删除")
    private Integer delFlag;
	/**单据类型*/
	@Excel(name = "单据类型", width = 15)
	@ApiModelProperty(value = "单据类型")
    private String documentType;
	/**是否是复盘, 0 否, 1 是*/
	@Excel(name = "是否是复盘, 0 否, 1 是", width = 15)
	@ApiModelProperty(value = "是否是复盘, 0 否, 1 是")
    private String replayFlag;
	/**组织*/
	@Excel(name = "组织", width = 15)
	@ApiModelProperty(value = "组织")
    private String organization;
	/**盘点差异处理单id*/
	@Excel(name = "盘点差异处理单id", width = 15)
	@ApiModelProperty(value = "盘点差异处理单id")
    private String differenceId;
	/**货主类型*/
	@Excel(name = "货主类型", width = 15)
	@ApiModelProperty(value = "货主类型")
    private String ownerType;
	/**货主*/
	@Excel(name = "货主", width = 15)
	@ApiModelProperty(value = "货主")
    private String ownerName;

	@ExcelCollection(name="盘点作业-物料")
	@ApiModelProperty(value = "盘点作业-物料")
	private List<TakeStockPlanExecuteMaterial> takeStockPlanExecuteMaterialList;

}
